package com.itggm.mapper;

import com.itggm.DTO.ActivityPageDTO;
import com.itggm.pojo.Activity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ActivityMapper {
    List<Activity> page(ActivityPageDTO activityPageDTO);

    void insertActivity(Activity activity);

    void deleteActivity(List<Integer> ids);

    List<Activity> selectactivityList(Integer limit);

    Integer selectDashboardData();
}
